package utils.log;

import java.util.Date;

public class Log {
	
	public static final String DEBUG = "DEBUG";
	public static final String ERROR = "ERROR";
	public static final String WARRING = "WARRING";
	
	private Log() {
	}
	
	public static void debug(String msg){
		System.err.println("["+new Date()+"] ["+DEBUG+"] "+msg);
	}
	
	public static void debug(String msg,String level){
		System.err.println("["+new Date()+"] ["+level+"] "+msg);
	}
	
}
